package com.bank6677.sync.csm.domain.old;

import java.util.Date;

public class LoanGuarInfo {
	private String guarFamilyAddrName;
	private String guarLiveAddrName;
	private Integer linkAge;
	private Long guarId;
	private Long applyId;
	private String guarType;
	private String corpAssetsType;
	private String assetsType;
	private Double corpAssetsAmount;
	private Double assetsAmount;
	private Double monthSalary;
	private Double otherIncome;
	private Double familyMonthSalary;
	private String unitsProperty;
	private Double unitsWorkYear;
	private String postions;
	private Date birthdays;
	private String workAddr;
	private Date regTime;
	private Double yearSalary;
	private Double billYearSalary;
	private String isProfit;
	private Double regCapital;
	private String mainBusiness;
	private String corpCredit;
	private String personCredit;
	private String eduEvel;
	private String maritalStatus;
	private Double corpDebtMoney;
	private String corpDebtType;
	private Double debtMoney;
	private String debtType;
	private Integer shareholderNum;
	private String partnerCredit;
	private Long guarFamilyAddr;
	private Long guarLiveAddr;
	private String corpLawer;
	private String otherAssets;
	private String assetsAddr;
	private String personAssets;
	private String unitName;
	private String corpAddr;
	private String corpProperty;
	private String corpControlName;
	private String corpName;
	private String controlZw;
	private String guarGiveBank;
	private String guarOccupation;
	private Double guarTaxMoney;
	private String guarSalaryType;

	public String getGuarFamilyAddrName() {
		return guarFamilyAddrName;
	}

	public void setGuarFamilyAddrName(String guarFamilyAddrName) {
		this.guarFamilyAddrName = guarFamilyAddrName;
	}

	public String getGuarLiveAddrName() {
		return guarLiveAddrName;
	}

	public void setGuarLiveAddrName(String guarLiveAddrName) {
		this.guarLiveAddrName = guarLiveAddrName;
	}

	public Integer getLinkAge() {
		return linkAge;
	}

	public void setLinkAge(Integer linkAge) {
		this.linkAge = linkAge;
	}

	public Long getGuarId() {
		return guarId;
	}

	public void setGuarId(Long guarId) {
		this.guarId = guarId;
	}

	public Long getApplyId() {
		return applyId;
	}

	public void setApplyId(Long applyId) {
		this.applyId = applyId;
	}

	public String getGuarType() {
		return guarType;
	}

	public void setGuarType(String guarType) {
		this.guarType = guarType == null ? null : guarType.trim();
	}

	public String getCorpAssetsType() {
		return corpAssetsType;
	}

	public void setCorpAssetsType(String corpAssetsType) {
		this.corpAssetsType = corpAssetsType == null ? null : corpAssetsType
				.trim();
	}

	public String getAssetsType() {
		return assetsType;
	}

	public void setAssetsType(String assetsType) {
		this.assetsType = assetsType == null ? null : assetsType.trim();
	}

	public Double getCorpAssetsAmount() {
		return corpAssetsAmount;
	}

	public void setCorpAssetsAmount(Double corpAssetsAmount) {
		this.corpAssetsAmount = corpAssetsAmount;
	}

	public Double getAssetsAmount() {
		return assetsAmount;
	}

	public void setAssetsAmount(Double assetsAmount) {
		this.assetsAmount = assetsAmount;
	}

	public Double getMonthSalary() {
		return monthSalary;
	}

	public void setMonthSalary(Double monthSalary) {
		this.monthSalary = monthSalary;
	}

	public Double getOtherIncome() {
		return otherIncome;
	}

	public void setOtherIncome(Double otherIncome) {
		this.otherIncome = otherIncome;
	}

	public Double getFamilyMonthSalary() {
		return familyMonthSalary;
	}

	public void setFamilyMonthSalary(Double familyMonthSalary) {
		this.familyMonthSalary = familyMonthSalary;
	}

	public String getUnitsProperty() {
		return unitsProperty;
	}

	public void setUnitsProperty(String unitsProperty) {
		this.unitsProperty = unitsProperty == null ? null : unitsProperty
				.trim();
	}

	public Double getUnitsWorkYear() {
		return unitsWorkYear;
	}

	public void setUnitsWorkYear(Double unitsWorkYear) {
		this.unitsWorkYear = unitsWorkYear;
	}

	public String getPostions() {
		return postions;
	}

	public void setPostions(String postions) {
		this.postions = postions == null ? null : postions.trim();
	}

	public Date getBirthdays() {
		return birthdays;
	}

	public void setBirthdays(Date birthdays) {
		this.birthdays = birthdays;
	}

	public String getWorkAddr() {
		return workAddr;
	}

	public void setWorkAddr(String workAddr) {
		this.workAddr = workAddr == null ? null : workAddr.trim();
	}

	public Date getRegTime() {
		return regTime;
	}

	public void setRegTime(Date regTime) {
		this.regTime = regTime;
	}

	public Double getYearSalary() {
		return yearSalary;
	}

	public void setYearSalary(Double yearSalary) {
		this.yearSalary = yearSalary;
	}

	public Double getBillYearSalary() {
		return billYearSalary;
	}

	public void setBillYearSalary(Double billYearSalary) {
		this.billYearSalary = billYearSalary;
	}

	public String getIsProfit() {
		return isProfit;
	}

	public void setIsProfit(String isProfit) {
		this.isProfit = isProfit == null ? null : isProfit.trim();
	}

	public Double getRegCapital() {
		return regCapital;
	}

	public void setRegCapital(Double regCapital) {
		this.regCapital = regCapital;
	}

	public String getMainBusiness() {
		return mainBusiness;
	}

	public void setMainBusiness(String mainBusiness) {
		this.mainBusiness = mainBusiness == null ? null : mainBusiness.trim();
	}

	public String getCorpCredit() {
		return corpCredit;
	}

	public void setCorpCredit(String corpCredit) {
		this.corpCredit = corpCredit == null ? null : corpCredit.trim();
	}

	public String getPersonCredit() {
		return personCredit;
	}

	public void setPersonCredit(String personCredit) {
		this.personCredit = personCredit == null ? null : personCredit.trim();
	}

	public String getEduEvel() {
		return eduEvel;
	}

	public void setEduEvel(String eduEvel) {
		this.eduEvel = eduEvel == null ? null : eduEvel.trim();
	}

	public String getMaritalStatus() {
		return maritalStatus;
	}

	public void setMaritalStatus(String maritalStatus) {
		this.maritalStatus = maritalStatus == null ? null : maritalStatus
				.trim();
	}

	public Double getCorpDebtMoney() {
		return corpDebtMoney;
	}

	public void setCorpDebtMoney(Double corpDebtMoney) {
		// this.corpDebtMoney = corpDebtMoney == null ? null :
		// corpDebtMoney.trim();
		this.corpDebtMoney = corpDebtMoney;
	}

	public String getCorpDebtType() {
		return corpDebtType;
	}

	public void setCorpDebtType(String corpDebtType) {
		this.corpDebtType = corpDebtType == null ? null : corpDebtType.trim();
	}

	public Double getDebtMoney() {
		return debtMoney;
	}

	public void setDebtMoney(Double debtMoney) {
		// this.debtMoney = debtMoney == null ? null : debtMoney.trim();
		this.debtMoney = debtMoney;
	}

	public String getDebtType() {
		return debtType;
	}

	public void setDebtType(String debtType) {
		this.debtType = debtType == null ? null : debtType.trim();
	}

	public Integer getShareholderNum() {
		return shareholderNum;
	}

	public void setShareholderNum(Integer shareholderNum) {
		// this.shareholderNum = shareholderNum == null ? null :
		// shareholderNum.trim();
		this.shareholderNum = shareholderNum;
	}

	public String getPartnerCredit() {
		return partnerCredit;
	}

	public void setPartnerCredit(String partnerCredit) {
		this.partnerCredit = partnerCredit == null ? null : partnerCredit
				.trim();
	}

	public Long getGuarFamilyAddr() {
		return guarFamilyAddr;
	}

	public void setGuarFamilyAddr(Long guarFamilyAddr) {
		this.guarFamilyAddr = guarFamilyAddr;
	}

	public Long getGuarLiveAddr() {
		return guarLiveAddr;
	}

	public void setGuarLiveAddr(Long guarLiveAddr) {
		this.guarLiveAddr = guarLiveAddr;
	}

	public String getCorpLawer() {
		return corpLawer;
	}

	public void setCorpLawer(String corpLawer) {
		this.corpLawer = corpLawer == null ? null : corpLawer.trim();
	}

	public String getOtherAssets() {
		return otherAssets;
	}

	public void setOtherAssets(String otherAssets) {
		this.otherAssets = otherAssets == null ? null : otherAssets.trim();
	}

	public String getAssetsAddr() {
		return assetsAddr;
	}

	public void setAssetsAddr(String assetsAddr) {
		this.assetsAddr = assetsAddr;
	}

	public String getPersonAssets() {
		return personAssets;
	}

	public void setPersonAssets(String personAssets) {
		this.personAssets = personAssets == null ? null : personAssets.trim();
	}

	public String getUnitName() {
		return unitName;
	}

	public void setUnitName(String unitName) {
		this.unitName = unitName == null ? null : unitName.trim();
	}

	public String getCorpAddr() {
		return corpAddr;
	}

	public void setCorpAddr(String corpAddr) {
		this.corpAddr = corpAddr == null ? null : corpAddr.trim();
	}

	public String getCorpProperty() {
		return corpProperty;
	}

	public void setCorpProperty(String corpProperty) {
		this.corpProperty = corpProperty == null ? null : corpProperty.trim();
	}

	public String getCorpControlName() {
		return corpControlName;
	}

	public void setCorpControlName(String corpControlName) {
		this.corpControlName = corpControlName == null ? null : corpControlName
				.trim();
	}

	public String getCorpName() {
		return corpName;
	}

	public void setCorpName(String corpName) {
		this.corpName = corpName == null ? null : corpName.trim();
	}

	public String getControlZw() {
		return controlZw;
	}

	public void setControlZw(String controlZw) {
		this.controlZw = controlZw == null ? null : controlZw.trim();
	}

	public String getGuarGiveBank() {
		return guarGiveBank;
	}

	public void setGuarGiveBank(String guarGiveBank) {
		this.guarGiveBank = guarGiveBank == null ? null : guarGiveBank.trim();
	}

	public String getGuarOccupation() {
		return guarOccupation;
	}

	public void setGuarOccupation(String guarOccupation) {
		this.guarOccupation = guarOccupation == null ? null : guarOccupation
				.trim();
	}

	public Double getGuarTaxMoney() {
		return guarTaxMoney;
	}

	public void setGuarTaxMoney(Double guarTaxMoney) {
		this.guarTaxMoney = guarTaxMoney;
	}

	public String getGuarSalaryType() {
		return guarSalaryType;
	}

	public void setGuarSalaryType(String guarSalaryType) {
		this.guarSalaryType = guarSalaryType == null ? null : guarSalaryType
				.trim();
	}

	@Override
	public boolean equals(Object that) {
		if (this == that) {
			return true;
		}
		if (!(that instanceof LoanGuarInfo)) {
			return false;
		}
		LoanGuarInfo other = (LoanGuarInfo) that;
		return this.getGuarId() == null ? other == null
				: this.getGuarId().equals(other.getGuarId())
						&& this.getApplyId() == null ? other == null
						: this.getApplyId().equals(other.getApplyId())
								&& this.getGuarType() == null ? other == null
								: this.getGuarType()
										.equals(other.getGuarType())
										&& this.getCorpAssetsType() == null ? other == null
										: this.getCorpAssetsType().equals(
												other.getCorpAssetsType())
												&& this.getAssetsType() == null ? other == null
												: this.getAssetsType().equals(
														other.getAssetsType())
														&& this.getCorpAssetsAmount() == null ? other == null
														: this.getCorpAssetsAmount()
																.equals(other
																		.getCorpAssetsAmount())
																&& this.getAssetsAmount() == null ? other == null
																: this.getAssetsAmount()
																		.equals(other
																				.getAssetsAmount())
																		&& this.getMonthSalary() == null ? other == null
																		: this.getMonthSalary()
																				.equals(other
																						.getMonthSalary())
																				&& this.getOtherIncome() == null ? other == null
																				: this.getOtherIncome()
																						.equals(other
																								.getOtherIncome())
																						&& this.getFamilyMonthSalary() == null ? other == null
																						: this.getFamilyMonthSalary()
																								.equals(other
																										.getFamilyMonthSalary())
																								&& this.getUnitsProperty() == null ? other == null
																								: this.getUnitsProperty()
																										.equals(other
																												.getUnitsProperty())
																										&& this.getUnitsWorkYear() == null ? other == null
																										: this.getUnitsWorkYear()
																												.equals(other
																														.getUnitsWorkYear())
																												&& this.getPostions() == null ? other == null
																												: this.getPostions()
																														.equals(other
																																.getPostions())
																														&& this.getBirthdays() == null ? other == null
																														: this.getBirthdays()
																																.equals(other
																																		.getBirthdays())
																																&& this.getWorkAddr() == null ? other == null
																																: this.getWorkAddr()
																																		.equals(other
																																				.getWorkAddr())
																																		&& this.getRegTime() == null ? other == null
																																		: this.getRegTime()
																																				.equals(other
																																						.getRegTime())
																																				&& this.getYearSalary() == null ? other == null
																																				: this.getYearSalary()
																																						.equals(other
																																								.getYearSalary())
																																						&& this.getBillYearSalary() == null ? other == null
																																						: this.getBillYearSalary()
																																								.equals(other
																																										.getBillYearSalary())
																																								&& this.getIsProfit() == null ? other == null
																																								: this.getIsProfit()
																																										.equals(other
																																												.getIsProfit())
																																										&& this.getRegCapital() == null ? other == null
																																										: this.getRegCapital()
																																												.equals(other
																																														.getRegCapital())
																																												&& this.getMainBusiness() == null ? other == null
																																												: this.getMainBusiness()
																																														.equals(other
																																																.getMainBusiness())
																																														&& this.getCorpCredit() == null ? other == null
																																														: this.getCorpCredit()
																																																.equals(other
																																																		.getCorpCredit())
																																																&& this.getPersonCredit() == null ? other == null
																																																: this.getPersonCredit()
																																																		.equals(other
																																																				.getPersonCredit())
																																																		&& this.getEduEvel() == null ? other == null
																																																		: this.getEduEvel()
																																																				.equals(other
																																																						.getEduEvel())
																																																				&& this.getMaritalStatus() == null ? other == null
																																																				: this.getMaritalStatus()
																																																						.equals(other
																																																								.getMaritalStatus())
																																																						&& this.getCorpDebtMoney() == null ? other == null
																																																						: this.getCorpDebtMoney()
																																																								.equals(other
																																																										.getCorpDebtMoney())
																																																								&& this.getCorpDebtType() == null ? other == null
																																																								: this.getCorpDebtType()
																																																										.equals(other
																																																												.getCorpDebtType())
																																																										&& this.getDebtMoney() == null ? other == null
																																																										: this.getDebtMoney()
																																																												.equals(other
																																																														.getDebtMoney())
																																																												&& this.getDebtType() == null ? other == null
																																																												: this.getDebtType()
																																																														.equals(other
																																																																.getDebtType())
																																																														&& this.getShareholderNum() == null ? other == null
																																																														: this.getShareholderNum()
																																																																.equals(other
																																																																		.getShareholderNum())
																																																																&& this.getPartnerCredit() == null ? other == null
																																																																: this.getPartnerCredit()
																																																																		.equals(other
																																																																				.getPartnerCredit())
																																																																		&& this.getGuarFamilyAddr() == null ? other == null
																																																																		: this.getGuarFamilyAddr()
																																																																				.equals(other
																																																																						.getGuarFamilyAddr())
																																																																				&& this.getGuarLiveAddr() == null ? other == null
																																																																				: this.getGuarLiveAddr()
																																																																						.equals(other
																																																																								.getGuarLiveAddr())
																																																																						&& this.getCorpLawer() == null ? other == null
																																																																						: this.getCorpLawer()
																																																																								.equals(other
																																																																										.getCorpLawer())
																																																																								&& this.getOtherAssets() == null ? other == null
																																																																								: this.getOtherAssets()
																																																																										.equals(other
																																																																												.getOtherAssets())
																																																																										&& this.getAssetsAddr() == null ? other == null
																																																																										: this.getAssetsAddr()
																																																																												.equals(other
																																																																														.getAssetsAddr())
																																																																												&& this.getPersonAssets() == null ? other == null
																																																																												: this.getPersonAssets()
																																																																														.equals(other
																																																																																.getPersonAssets())
																																																																														&& this.getUnitName() == null ? other == null
																																																																														: this.getUnitName()
																																																																																.equals(other
																																																																																		.getUnitName())
																																																																																&& this.getCorpAddr() == null ? other == null
																																																																																: this.getCorpAddr()
																																																																																		.equals(other
																																																																																				.getCorpAddr())
																																																																																		&& this.getCorpProperty() == null ? other == null
																																																																																		: this.getCorpProperty()
																																																																																				.equals(other
																																																																																						.getCorpProperty())
																																																																																				&& this.getCorpControlName() == null ? other == null
																																																																																				: this.getCorpControlName()
																																																																																						.equals(other
																																																																																								.getCorpControlName())
																																																																																						&& this.getCorpName() == null ? other == null
																																																																																						: this.getCorpName()
																																																																																								.equals(other
																																																																																										.getCorpName())
																																																																																								&& this.getControlZw() == null ? other == null
																																																																																								: this.getControlZw()
																																																																																										.equals(other
																																																																																												.getControlZw())
																																																																																										&& this.getGuarGiveBank() == null ? other == null
																																																																																										: this.getGuarGiveBank()
																																																																																												.equals(other
																																																																																														.getGuarGiveBank())
																																																																																												&& this.getGuarOccupation() == null ? other == null
																																																																																												: this.getGuarOccupation()
																																																																																														.equals(other
																																																																																																.getGuarOccupation())
																																																																																														&& this.getGuarTaxMoney() == null ? other == null
																																																																																														: this.getGuarTaxMoney()
																																																																																																.equals(other
																																																																																																		.getGuarTaxMoney())
																																																																																																&& this.getGuarSalaryType() == null ? other == null
																																																																																																: this.getGuarSalaryType()
																																																																																																		.equals(other
																																																																																																				.getGuarSalaryType())
																																																																																																		&& this.getLinkAge() == null ? other == null
																																																																																																		: this.getLinkAge()
																																																																																																				.equals(other
																																																																																																						.getLinkAge());
	}

	@Override
	public int hashCode() {
		int hash = 23;
		if (getGuarId() != null) {
			hash *= getGuarId().hashCode();
		}
		if (getApplyId() != null) {
			hash *= getApplyId().hashCode();
		}
		if (getGuarType() != null) {
			hash *= getGuarType().hashCode();
		}
		if (getCorpAssetsType() != null) {
			hash *= getCorpAssetsType().hashCode();
		}
		if (getAssetsType() != null) {
			hash *= getAssetsType().hashCode();
		}
		if (getCorpAssetsAmount() != null) {
			hash *= getCorpAssetsAmount().hashCode();
		}
		if (getAssetsAmount() != null) {
			hash *= getAssetsAmount().hashCode();
		}
		if (getMonthSalary() != null) {
			hash *= getMonthSalary().hashCode();
		}
		if (getOtherIncome() != null) {
			hash *= getOtherIncome().hashCode();
		}
		if (getFamilyMonthSalary() != null) {
			hash *= getFamilyMonthSalary().hashCode();
		}
		if (getUnitsProperty() != null) {
			hash *= getUnitsProperty().hashCode();
		}
		if (getUnitsWorkYear() != null) {
			hash *= getUnitsWorkYear().hashCode();
		}
		if (getPostions() != null) {
			hash *= getPostions().hashCode();
		}
		if (getBirthdays() != null) {
			hash *= getBirthdays().hashCode();
		}
		if (getWorkAddr() != null) {
			hash *= getWorkAddr().hashCode();
		}
		if (getRegTime() != null) {
			hash *= getRegTime().hashCode();
		}
		if (getYearSalary() != null) {
			hash *= getYearSalary().hashCode();
		}
		if (getBillYearSalary() != null) {
			hash *= getBillYearSalary().hashCode();
		}
		if (getIsProfit() != null) {
			hash *= getIsProfit().hashCode();
		}
		if (getRegCapital() != null) {
			hash *= getRegCapital().hashCode();
		}
		if (getMainBusiness() != null) {
			hash *= getMainBusiness().hashCode();
		}
		if (getCorpCredit() != null) {
			hash *= getCorpCredit().hashCode();
		}
		if (getPersonCredit() != null) {
			hash *= getPersonCredit().hashCode();
		}
		if (getEduEvel() != null) {
			hash *= getEduEvel().hashCode();
		}
		if (getMaritalStatus() != null) {
			hash *= getMaritalStatus().hashCode();
		}
		if (getCorpDebtMoney() != null) {
			hash *= getCorpDebtMoney().hashCode();
		}
		if (getCorpDebtType() != null) {
			hash *= getCorpDebtType().hashCode();
		}
		if (getDebtMoney() != null) {
			hash *= getDebtMoney().hashCode();
		}
		if (getDebtType() != null) {
			hash *= getDebtType().hashCode();
		}
		if (getShareholderNum() != null) {
			hash *= getShareholderNum().hashCode();
		}
		if (getPartnerCredit() != null) {
			hash *= getPartnerCredit().hashCode();
		}
		if (getGuarFamilyAddr() != null) {
			hash *= getGuarFamilyAddr().hashCode();
		}
		if (getGuarLiveAddr() != null) {
			hash *= getGuarLiveAddr().hashCode();
		}
		if (getCorpLawer() != null) {
			hash *= getCorpLawer().hashCode();
		}
		if (getOtherAssets() != null) {
			hash *= getOtherAssets().hashCode();
		}
		if (getAssetsAddr() != null) {
			hash *= getAssetsAddr().hashCode();
		}
		if (getPersonAssets() != null) {
			hash *= getPersonAssets().hashCode();
		}
		if (getUnitName() != null) {
			hash *= getUnitName().hashCode();
		}
		if (getCorpAddr() != null) {
			hash *= getCorpAddr().hashCode();
		}
		if (getCorpProperty() != null) {
			hash *= getCorpProperty().hashCode();
		}
		if (getCorpControlName() != null) {
			hash *= getCorpControlName().hashCode();
		}
		if (getCorpName() != null) {
			hash *= getCorpName().hashCode();
		}
		if (getControlZw() != null) {
			hash *= getControlZw().hashCode();
		}
		if (getGuarGiveBank() != null) {
			hash *= getGuarGiveBank().hashCode();
		}
		if (getGuarOccupation() != null) {
			hash *= getGuarOccupation().hashCode();
		}
		if (getGuarTaxMoney() != null) {
			hash *= getGuarTaxMoney().hashCode();
		}
		if (getGuarSalaryType() != null) {
			hash *= getGuarSalaryType().hashCode();
		}
		if (getLinkAge() != null) {
			hash *= getLinkAge().hashCode();
		}
		return hash;
	}
}